package com.woniu.web.mapper;

import com.woniu.common.entity.TbJpRole;
import com.woniu.common.entity.TbJpRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbJpRoleDao {
    long countByExample(TbJpRoleExample example);

    int deleteByExample(TbJpRoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(TbJpRole record);

    int insertSelective(TbJpRole record);

    List<TbJpRole> selectByExample(TbJpRoleExample example);

    TbJpRole selectByPrimaryKey(Integer roleId);

    int updateByExampleSelective(@Param("record") TbJpRole record, @Param("example") TbJpRoleExample example);

    int updateByExample(@Param("record") TbJpRole record, @Param("example") TbJpRoleExample example);

    int updateByPrimaryKeySelective(TbJpRole record);

    int updateByPrimaryKey(TbJpRole record);
}